package com.ksd.system.domain;

import com.ksd.common.annotation.Excel;
import com.ksd.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 内容同步管理对象 sys_content_synch
 * 
 * @author y.wu
 * @date 2025-09-08
 */
public class SysContentSynch extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    public static final Long cloudSynchFlag = 4L; //是否开启云服务器 和 服务器标识
    public static final Long cloudSynchAddressId = 5L; //云服务器同步地址
    public static final Long operatorKey = 6L; // 客户端标识
    public static final Long synch_apk_id = 1L; //apk最新版本
    public static final Long synch_jar_id = 2L;//jar包最新版本
    public static final Long synch_ui_id = 3L;//前端vue包最新版本

    public static final Long cloudSynchConfig = 4L;
    /** 编号 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 对应值 */
    @Excel(name = "对应值")
    private String intValue;

    /** 对应值 */
    @Excel(name = "对应值")
    private String value1;

    /** 对应值 */
    @Excel(name = "对应值")
    private String value2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIntValue(String intValue) 
    {
        this.intValue = intValue;
    }

    public String getIntValue() 
    {
        return intValue;
    }
    public void setValue1(String value1) 
    {
        this.value1 = value1;
    }

    public String getValue1() 
    {
        return value1;
    }
    public void setValue2(String value2) 
    {
        this.value2 = value2;
    }

    public String getValue2() 
    {
        return value2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("intValue", getIntValue())
            .append("value1", getValue1())
            .append("value2", getValue2())
            .append("createTime", getCreateTime())
            .toString();
    }
}
